package com.xyrl.project.common.csr.vo;

import com.xyrl.common.util.domain.RegexpConstant;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * 客户登录传参vo
 *
 * @author zhongp
 * @version 1.0
 * @className CsrLoginVo
 * @company 星纭融链科技服务有限公司
 * @date 2020-01-02 11:49:06
 * @Description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CsrLoginVo {
    /**
     * 登录手机号
     */
    @Pattern(regexp = RegexpConstant.MOBILE_REG, message = "{mobile}")
    private String mobile;
    /**
     * 验证码
     */
    @Pattern(regexp = RegexpConstant.MSG_VERIFICATION_CODE_REG, message = "{smg_verification_code}")
    private String code;

}
